package com.huaiwei.usmManager.modules.usm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaiwei.usmManager.modules.usm.entity.CabinetEntity;
import com.huaiwei.usmManager.modules.usm.entity.ShopEntity;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopDao extends BaseMapper<ShopEntity> {
    /*判断是否有商品在展示柜上*/
    int findCabinetInShopByShopId(Integer shopId);

    //    根据shopId查询相应的展示柜列表
    List<CabinetEntity> getCabinetListByShopId(Integer shopId);

}
